package com.ruoyi.crm.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 商机对象 crm_niche
 *
 * @author ruoyi
 * @date 2023-03-30
 */
@TableName("crm_niche")
public class CrmNiche extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String del;

    /** 商机名称 */
    @Excel(name = "商机名称")
    private String nicheName;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String ghName;

    /** 客户id */
    @Excel(name = "客户id")
    private String ghId;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String contact;

    /** 客户地址 */
    @Excel(name = "客户地址")
    private String address;

    /** 到期时间 */
    @Excel(name = "到期时间")
    private Date endTime;

    /** 意向产品id */
    @Excel(name = "意向产品id")
    private String productId;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setDel(String del)
    {
        this.del = del;
    }

    public String getDel()
    {
        return del;
    }
    public void setNicheName(String nicheName)
    {
        this.nicheName = nicheName;
    }

    public String getNicheName()
    {
        return nicheName;
    }
    public void setGhName(String ghName)
    {
        this.ghName = ghName;
    }

    public String getGhName()
    {
        return ghName;
    }
    public void setGhId(String ghId)
    {
        this.ghId = ghId;
    }

    public String getGhId()
    {
        return ghId;
    }
    public void setContact(String contact)
    {
        this.contact = contact;
    }

    public String getContact()
    {
        return contact;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }
    public void setEndTime(Date endTime)
    {
        this.endTime = endTime;
    }

    public Date getEndTime()
    {
        return endTime;
    }
    public void setProductId(String productId)
    {
        this.productId = productId;
    }

    public String getProductId()
    {
        return productId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("del", getDel())
            .append("nicheName", getNicheName())
            .append("ghName", getGhName())
            .append("ghId", getGhId())
            .append("contact", getContact())
            .append("address", getAddress())
            .append("endTime", getEndTime())
            .append("productId", getProductId())
            .append("remark", getRemark())
            .toString();
    }
}
